package com.canyou.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.canyou.system.model.LoginInfo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author canyou
 * @since 2019-05-14
 */
public interface LoginInfoMapper extends BaseMapper<LoginInfo> {

    /**
     * 分页获取登录信息列表
     *
     * @param page
     * @param loginInfo
     * @return
     */
    IPage<LoginInfo> getLoginInfoPage(@Param("page") IPage<LoginInfo> page, @Param("po") LoginInfo loginInfo);
}
